package com.library.www.entity;

public class BeOverdue {
    private int id;//编号
    private int cardId;//读者卡号
    private String name;//读者姓名
    private int bookId;//书籍编号
    private String startTime;//借书时间
    private int day;//约定天数
    private String endTime;//还书时间
    private String retype;//违约类型
    private double money;//违约金
    private int type;
    private String phone;//电话

    public BeOverdue (int id, int cardId, String name, int bookId, String startTime, int day, String endTime, String phone) {
        this.id = id;
        this.cardId = cardId;
        this.name = name;
        this.bookId = bookId;
        this.startTime = startTime;
        this.day = day;
        this.endTime = endTime;
        this.phone = phone;
    }

    public String getPhone () {
        return phone;
    }

    public void setPhone (String phone) {
        this.phone = phone;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public BeOverdue (String startTime, int day) {
        this.startTime = startTime;
        this.day = day;
    }

    public BeOverdue (int cardId, int bookId, String startTime, int day, String endTime, int type, double money) {
        this.cardId = cardId;
        this.bookId = bookId;
        this.startTime = startTime;
        this.day = day;
        this.endTime = endTime;
        this.type = type;
        this.money = money;
    }

    public BeOverdue (int id, int cardId, String name,int bookId, String startTime, int day, String endTime, String retype, double money) {
        this.id = id;
        this.cardId = cardId;
        this.name = name;
        this.bookId = bookId;
        this.startTime = startTime;
        this.day = day;
        this.endTime = endTime;
        this.retype = retype;
        this.money = money;
    }

    public String getRetype () {
        return retype;
    }

    public void setRetype (String retype) {
        this.retype = retype;
    }

    public int getId () {
        return id;
    }

    public void setId (int id) {
        this.id = id;
    }

    public int getCardId () {
        return cardId;
    }

    public void setCardId (int cardId) {
        this.cardId = cardId;
    }

    public int getBookId () {
        return bookId;
    }

    public void setBookId (int bookId) {
        this.bookId = bookId;
    }

    public String getStartTime () {
        return startTime;
    }

    public void setStartTime (String startTime) {
        this.startTime = startTime;
    }

    public int getDay () {
        return day;
    }

    public void setDay (int day) {
        this.day = day;
    }

    public String getEndTime () {
        return endTime;
    }

    public void setEndTime (String endTime) {
        this.endTime = endTime;
    }

    public int getType () {
        return type;
    }

    public void setType (int type) {
        this.type = type;
    }

    public double getMoney () {
        return money;
    }

    public void setMoney (double money) {
        this.money = money;
    }
}
